Crate noodles_vcf

source ·
Expand description

noodles-vcf handles the reading and writing of the VCF format.

§Examples

§Read all records from a file

use noodles_vcf as vcf;

let mut reader = vcf::reader::Builder::default().build_from_path("sample.vcf")?;
let header = reader.read_header()?;

for result in reader.records(&header) {
    let record = result?;
    println!("{:?}", record);
}

Re-exports§

Modules§

Structs§

Traits§

Functions§

  • Indexes a bgzipped-compressed VCF file.